package cn.entity;

import com.mybatisflex.annotation.Table;
import com.ymx.darling.bean.annotation.Entity;
import com.ymx.darling.bean.annotation.Id;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

@Data
@Entity(table = "orders")
@Table(value = "orders")
public class Orders implements Serializable {
	@Id
	private int id;
	private int userId;
	private int productId;
	private int createdBy;
	private Timestamp createdAt;
	private int updatedBy;
	private Timestamp updatedAt;
}
